// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import api from '@/api/index.js'
import Vuex from 'vuex'
Vue.config.productionTip = false
import empty from './components/empty.vue'
Vue.component('empty', empty)
Vue.prototype.$api = api
App.mpType = 'app'

//引入创建的index.js
import store from '@/store/index.js'

const app = new Vue({
	...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app,
		store
	}
}
// #endif
